import { OmitType, PartialType, PickType } from '@nestjs/swagger';

import { Food } from '@/modules/app/entities';

export class CreateFoodReqDto extends OmitType(Food, [
  'foodId',
  'createdAt',
  'updatedAt',
]) {}

export class FoodListReqDto extends PartialType(PickType(Food, ['category'])) {}

export class FoodResDto extends OmitType(Food, ['dietFoods']) {}
